﻿using TheBlog.NhibernateModel.Entities;

namespace TheBlog.NhibernateModel.Mappings
{
    public class AffectMap : EntityMap<Affect>
    {
        public AffectMap()
        {
            DiscriminateSubClassesOnColumn("AffectClassType");
            Map(x => x.AffectingDate).Not.Nullable();
            Map(x => x.AffectingType).Not.Nullable();
        }
    }
}